//活动业务对象

import {Http} from "../utils/http";
import {server_config} from "../config/config";

class Activity {
    static home_coupon = 'a-2';

    /**
     * 获取主页优惠券
     * @returns {Promise<*>}
     */
    static async getHomeCoupon() {
        return await Http.request({
            url: `${server_config.activityHomeCoupon}${Activity.home_coupon}`
        });
    }
}

export {
    Activity
}